import { request, METHOD } from '@/utils/request';
import qs from 'qs';
// 获取勤务管理列表
export const getServServiceConfListApi = (params) => {
  return request('/serv/ServServiceConf/getServServiceConfList', METHOD.GET, params);
};

export const getServServiceConfDetailApi = (params) => {
  return request('/serv/ServServiceConf/getServServiceConf', METHOD.GET, params);
};
// 编辑
export const updateServServiceConfApi = (params) => {
  return request('/serv/ServServiceConf/update', METHOD.POST, qs.stringify(params));
};

// 编辑斜率
export const modifySlopeApi = (params) => {
  return request('/serv/slope/modifySlope', METHOD.POST, params);
};

